package com.demo.entity.enums;

/**
 * 菜单权限编码
 */
public enum PermissionCodeEnum {
    NO_PERMISSION("no_permission", "不校验权限"),

    HOME("home", "首页"),

    SETTINGS("settings", "系统设置"),
    SETTINGS_MENU("settings_menu_list", "菜单列表"),
    SETTINGS_MENU_EDIT("settings_menu_edit", "新增/修改/删除"),

    SETTINGS_ROLE_LIST("settings_role_list", "角色列表"),
    SETTINGS_ROLE_EDIT("settings_role_edit", "新增/修改/删除"),
    SETTINGS_ROLE_DEL("settings_role_del", "删除"),


    SETTINGS_ACCOUNT_LIST("settings_account_list", "用户列表"),
    SETTINGS_ACCOUNT_EDIT("settings_account_edit", "新增/修改"),
    SETTINGS_ACCOUNT_DEL("settings_account_del", "删除"),
    SETTINGS_ACCOUNT_UPDATE_PASSWORD("settings_account_update_password", "修改密码"),
    SETTINGS_ACCOUNT_OP_STATUS("settings_account_op_status", "启用/禁用"),


    LABORATORY_LIST("laboratory_list","加载实验室列表"),
    LABORATORY_EDIT("laboratory_edit","修改/新增"),
    LABORATORY_DEL("laboratory_del","删除"),


    DEVICE_LIST("device_list","设备列表"),
    DEVICE_EDIT("device_edit","新增/修改"),
    DEVICE_DEL("device_del","删除列表"),
    DEVICE_INVENTORY_LIST("device_inventory_list","查询设备库存明细"),
    DEVICE_INVENTORY_EDIT("device_inventory_edit","设备库存编辑"),
    DEVICE_INVENTORY_DEL("device_inventory_del","删除库存明细"),

    MYAPPLY_LIST("myapply_list","个人设备申请列表"),
    DEVICE_APPLY_LIST("device_apply_list","设备申请列表"),
    DEVICE_APPLY_EDIT("device_apply_edit","新增/修改"),
    DEVICE_APPLY_DEL("device_apply_del","删除"),
    DEVICE_APPLY_STATUS("device_apply_status","修改设备申请状态"),



    NOTICE_LIST("notice_list","公告列表"),
    NOTICE_EDIT("notice_edit","新增/修改"),
    NOTICE_DEL("notice_del","删除"),
    ;
    private String code;
    private String desc;


    PermissionCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
